package cfdt.ldl.sys.api.feign;

import cfdt.common.vo.ObjectBaseResponse;
import cfdt.ldl.sys.api.feign.fallback.SysFallBack;
import cfdt.ldl.core.entity.UserInfo;
import cfdt.ldl.sys.api.request.LoginSysRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 
 * 用户中心
 *
 * <pre>
 * Modify Information:
 * Author       Date          Description
 * ============ ============= ============================
 * wangxiao      2021年8月16日上午9:37:03      黑名单检查Feign
 *
 * </pre>
 */
@FeignClient(value = "ldl-sys", fallbackFactory = SysFallBack.class, path = "ldl-sys")
public interface SysFeign {

    @GetMapping("/login/doLogin")
    ObjectBaseResponse<UserInfo> doLogin(@RequestBody LoginSysRequest request);


}
